package com.quanyan.comment.service;

import com.quanyan.api.APIResponse;
import com.quanyan.comment.reqeust.ReqCommentQuery;
import com.quanyan.comment.response.RespCommentDetail;
import com.quanyan.comment.response.RespCommentDetailScore;

import java.util.List;

/**
 * Created by Administrator on 2016/12/16.
 */
public interface CommentDetailService {

    /***
     * 获取 改业务 打分项目
     * @param businessCode
     * @param businessId
     * @return
     */
    APIResponse<List<RespCommentDetail>> getCommentDetailPro(String businessCode,Integer businessId) ;


    /**
     * 获取评论项目 打分
     * @param commentId
     * @return
     */
    APIResponse<List<RespCommentDetailScore>> getCommentDetailScore(Integer commentId);


    /**
     * 查询 某个业务下 打分项 的平均分
     * @param reqCommentQuery
     * @return
     */
     APIResponse<List<RespCommentDetailScore>> getRespCommentDetailScoreSum(ReqCommentQuery reqCommentQuery);
    }
